package com.cheng.operation;

import com.cheng.common.exception.CommonException;
import com.cheng.data.vo.CompanyMoveInfVO;
import com.cheng.data.vo.NoticeVO;
import com.cheng.data.vo.ReqPageInfoVO;
import com.cheng.data.vo.RespPageInfoVO;

import java.util.Map;

/**
 * @author: ChengJW
 * @date: 2021/12/18 10:50
 * @version: 1.0
 * @description:
 */
public interface CompanyMoveInfOperation {

    /**
    * @author: ChengJW
    * @params: [vo]
    * @return: void
    * @date: 2021/12/18
    * @description: 企业迁出信息
    */
    void insertCompanyMoveInf(CompanyMoveInfVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: []
    * @return: com.cheng.data.vo.RespPageInfoVO
    * @date: 2021/12/18
    * @description: 查询迁移企业信息
    */
    RespPageInfoVO queryCompanyMoveList(ReqPageInfoVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [vo]
    * @return: void
    * @date: 2021/12/18
    * @description: 档案迁入
    */
    void updateCompanyMoveInf(CompanyMoveInfVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [pageInfoVO]
    * @return: com.cheng.data.vo.RespPageInfoVO
    * @date: 2021/12/20
    * @description: 统计迁移情况
    */
    RespPageInfoVO queryStatisticsMvVOList(ReqPageInfoVO pageInfoVO) throws CommonException;

    /**
     * @author: ChengJW
     * @params: [map]
     * @return: com.cheng.data.vo.NoticeVO
     * @date: 2021/12/21
     * @description: home 页面待迁入企业提醒
     */
    NoticeVO queryMoveNoticeVO(String userCode) throws CommonException;
}
